package com.yict.csms.baseInfo.service;

import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.yict.common.entity.PageEntity;
import com.yict.common.service.ICommonService;
import com.yict.csms.baseInfo.entity.ContractType;

/**
 * 
 * 
 * @author Patrick.Deng
 * 
 */
public interface IContractTypeService extends
		ICommonService<ContractType, Long> {

	public List<ContractType> search(Map<String, Object> queryMap,
			PageEntity page);

	public boolean verifyContract(Long typeId);
	
	/**
	 * 根据id查找实体
	 * @param ids
	 * @return
	 */
	public List<ContractType> listByIds(Collection<Long> ids);
	
	/**
	 * 根据承包商过滤
	 * @param companyid
	 * @return
	 */
	public List<ContractType> listByCompany(Long companyid,Date cntDate);
}
